<?xml version="1.0" encoding="utf-8"?>
    <rss version="2.0">
        <channel>
            <title><![CDATA[{if $id && !empty($cats[$id])}{$cats[$id]['cat_name']}-{/if}{$siteName}]]></title>
            <description><![CDATA[{$description}]]></description>
            <link>{$url}</link>
            <language>zh-cn</language>
            <generator>www.ueapp.net</generator>
            <copyright><![CDATA[Copyright &copy; 2010-{date('Y')} ueapp.net All Rights Reserved]]></copyright>
            <pubDate>{$feeds[0]['feed_pub_date']}</pubDate>
            {loop $feeds $feed}        
            <item>
                <title><![CDATA[{$feed['feed_title']}]]></title>
                <link><![CDATA[{$feed['feed_link']}]]></link>
                <author>{$feed['feed_author']}</author>
                <guid>{$feed['feed_guid']}</guid>
                <category>{if $id}{$cats[$id]['cat_name']}{/if}</category>    
                <pubDate>{$feed['feed_pub_date']}</pubDate>
                <comments>{$feed['feed_comments']}</comments>
                <description><![CDATA[{$feed['feed_desc']}...]]></description>
            </item>
            {/loop}
        </channel>
    </rss>
        